<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>CKEditor</title>
    <script src="../../../static/plugins/ckeditor/ckeditor.js"></script>
</head>
<body>
<form method="post">
    <p>
        My Editor:<br>
        <textarea name="editor1" id="editor1">&lt;p&gt;Initial editor content.&lt;/p&gt;</textarea>
    </p>

    <p>
        <input type="submit">
    </p>
</form>


<script>
    //var editor = CKEDITOR.replace('editor1',{
     //   uiColor: '#CCEAEE'
    //});
    //var data = editor.getData();
    //alert(data);
    //CKEDITOR.disableAutoInline = true;
    var editor = CKEDITOR.inline('editor1');
    var data = editor.getData();
    editor.config.uiColor='#CCEAEE';
    //alert(data);
</script>
</body>
</html>